package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.HotProductRecommendations;
import com.example.mall.dto.HotProductRecommendationsDto;
import com.example.mall.query.HotProductRecommendationsQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 热门商品推荐表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-06
 */
public interface IHotProductRecommendationsService extends IService<HotProductRecommendations> {

    //分页查询热门商品推荐表信息
    PageDTO<HotProductRecommendationsDto> queryPage(HotProductRecommendationsQuery hotProductRecommendationsQuery);

    //根据id查询热门商品推荐表信息
    HotProductRecommendations queryHotProductRecommendationsById(Long recommendId);

    //查询热门商品推荐表信息
    List<HotProductRecommendations> queryHotProductRecommendationsList();

    //新增热门商品推荐表信息
    void insert(HotProductRecommendationsDto hotProductRecommendationsDto);

    //修改热门商品推荐表信息
    void update(HotProductRecommendationsDto hotProductRecommendationsDto);

    //删除热门商品推荐表信息
    void delete(Long recommendId);

    //批量删除热门商品推荐表信息
    void deleteBatch(List<Long> recommendIds);
}
